//client/app/index.js
//浏览器端页面结构渲染入口

import React from 'react';
import ReactDom from 'react-dom';
import { BrowserRouter} from 'react-router-dom';
import App from '../router/index';
import routeList from '../router/route-config';//路由配置


//渲染入口
ReactDom.hydrate(
  <BrowserRouter>
    <App routeList={routeList}/>
  </BrowserRouter>//改成路由组件
  , document.getElementById('root'));
